import request from '@/utils/request'

export function getAuthInfo() {
  return request({
    url: '/system/license/current',
    method: 'get'
  })
}

export function backupAuthInfo(data) {
  return request({
    url: `/system/license/backup?filename=${data}`,
    method: 'get',
  })
}

export function importAuthInfo(data) {
  return request({
    url: `/system/license/import`,
    method: 'post',
  })
}


